package com.snb.play.dwebtoon.data;

import java.util.Iterator;

import org.json.JSONObject;

public class DTO_Artist extends JSonDataObjectBase {
	/**
	 * 
	 */
	private static final long serialVersionUID = 142L;

	public String TAG = getClass().getSimpleName();

	public String artistType;

//	public String teamYn;
//	public String career;
//	public String authUserinfo;

//	public String birthDay;
//	public String team;
//	public String blog;
//	public String debutDay;
//	public String homepage;
//	public String fancafe;

//	public String history;
	public String id;
//	public String email;
//	public String joinDay;
	public String penName;

//	public String name;
//	public String cafe;
//	public String artistOrder;
//	public String breakDay;
//	public String introduction;

//	public DTO_PictureImage pictureImage;
//	public DTO_PictureImage smallPictureImage;
//	public DTO_PictureImage nameImage;

	public DTO_Artist(JSONObject aJsonObject) {
		@SuppressWarnings("unchecked")
		Iterator<Object> iterator = aJsonObject.keys();

		while (iterator.hasNext()) {
			Object obj = iterator.next();
			if (obj.toString().equalsIgnoreCase("nameImage")) {
			} else if (obj.toString().equalsIgnoreCase("pictureImage")) {
			} else if (obj.toString().equalsIgnoreCase("smallPictureImage")) {
			} else {
				setMemberFiled(this, aJsonObject, obj.toString());
			}
		}

		printMembers();
		insertObjToDB();
	}
}
